<template>
	<div>
		<!-- 导航区 -->
		<ul class="nav nav-tabs">
			<h2>Home组件</h2>
			<li>
				<router-link 
					class="list-group-item" 
					active-class="atguigu" 
					:to="{name:'xinwen'}"
				>
					News
				</router-link>
			</li>
			<li>
				<router-link 
					class="list-group-item"
					 active-class="atguigu" 
					 :to="{name:'xinxi'}"
				>
					Message
				</router-link>
			</li>
		</ul>
		<!-- 展示区 -->
		<div>
			<router-view></router-view>
		</div>
	</div>
</template>

<script>
	export default {
		name:'Home',
	}
</script>